home *** CD-ROM | disk | FTP | other *** search
- /* MenuItems.psw
- *
- * pswrap functions for the MenuView object
- */
-
- defineps menu_rect(float x, y, rect_height, rect_width)
- newpath
- x y moveto
- 0.0 rect_height neg rlineto
- rect_width 0.0 rlineto
- 0.0 rect_height rlineto
- closepath
- endps
-
- defineps menu_pie(float x, y, ang, angle_covered, covered_radius, menu_radius)
- newpath
- x y covered_radius ang angle_covered arc
- x y menu_radius angle_covered ang arcn
- closepath
- endps
-
- defineps menu_pie_rect(float x, y, menu_radius, angle, width, height)
- newpath
- x y menu_radius angle angle arc
- width 2.0 div
- height 2.0 div rmoveto
- 0.0 height neg rlineto
- width 0.0 rlineto
- 0.0 height rlineto
- closepath
- endps
-